<template>
  <div class="content">阿萨德</div>
</template>

<script>
import { getData } from "@/request/api/home";
export default {
  name: "home",
  data() {
    return {};
  },
  methods: {
    //获取数据
    getData() {
      getData().then((res) => {
        console.log(res);
      });
    },
  },
  mounted() {
    this.getData()
  },
};
</script>
<style lang="scss" scoped>
.s-simple {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
}
.content {
  color: red;
  font-size: 20px;
}
</style>